<%--
  @author Duminda Dharmakeerthi
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<div id="land-registration-module-home-title" class="module-home-title">
    <s:a href="landRegistrationModule.do"><img src="${pageContext.request.contextPath}/images/land-reg.png"
                                                      alt="Land Registration"><span><s:label
            value="%{getText('land_registration.label')}"/></span></s:a>
</div>
<s:form action="#" id="gov-land-detailed-info-form">
<div id="alieanation-type">
    <table class="width-500-px margin-10-auto">
        <tr>
            <td>Alieanation Type</td>
            <td>
                <select>
                    <option>Land grants</option>
                    <option>Land permits</option>
                    <option>Annual land permits</option>
                    <option>Land release for departments</option>
                    <option>Long term leasing approval letter</option>
                    <option>Long term leasing agreements</option>
                    <option>Vesting orders</option>
                    <option>Yield tax permits</option>
                    <option>Land kachchary</option>
                </select>
            </td>
            <td><input type="button" value="Load Form"/></td>
        </tr>
    </table>
</div>
<div id="tabs">
<ul>
    <li><s:a href="#basic-gov-land-info">Basic Information</s:a></li>
    <li><s:a href="#land-ownership-info"><s:label value="%{getText('ownership_info.label')}"/></s:a></li>
    <li><s:a href="#nature-of-land"><s:label value="%{getText('nature_of_land.label')}"/></s:a></li>
    <li><s:a href="#section-4">Encroachment</s:a></li>
</ul>
<div id="basic-gov-land-info">
    <table class="width-100">
        <tr>
            <td>District</td>
            <td><select>
                <option>please select district</option>
                <option>Colombo</option>
                <option>Gampaha</option>
                <option>Kaluthara</option>
            </select></td>
        </tr>
        <tr>
            <td>D.S. Division</td>
            <td><select>
                <option>please select division</option>
                <option>Ratmalana</option>
                <option>Moratuwa</option>
                <option>Gampaha</option>
                <option>Homagama</option>
            </select></td>
        </tr>
        <tr>
            <td>G.N. Division</td>
            <td><select>
                <option>please select GN division</option>
                <option>Borella North</option>
                <option>Borella South</option>
                <option>Ratmalana East</option>
            </select></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('local_authority.label')}"/><s:checkbox name="local_authority"/></td>
            <td><s:label value="%{getText('municipal_council.label')}"/><s:checkbox name="municipal_council"/></td>
            <td><s:label value="%{getText('urban_council.label')}"/><s:checkbox name="urban_council"/></td>
            <td><s:label value="%{getText('pradeshiya_saba.label')}"/><s:checkbox name="pradeshiya_saba"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('village.label')}"/></td>
            <td colspan="3"><s:textfield name="village"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('name_of_land.label')}"/></td>
            <td colspan="3"><s:textarea name="name_of_land"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('survey_plan_no.label')}"/></td>
            <td colspan="3"><s:textarea name="survey_plan_no"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('lot_no.label')}"/></td>
            <td colspan="3"><s:textfield name="lot_no"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('extent.label')}"/></td>
            <td><s:label value="%{getText('hec.label')}"/></td>
            <td colspan="2"><s:textfield name="hec"/></td>
        </tr>
        <tr>
            <td rowspan="3"></td>
            <td><s:label value="%{getText('acre.label')}"/></td>
            <td colspan="2"><s:textfield name="acre"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('roods.label')}"/></td>
            <td colspan="2"><s:textfield name="roods"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('perches.label')}"/></td>
            <td colspan="2"><s:textfield name="perches"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('boundaries.label')}"/></td>
            <td><s:label value="%{getText('north.label')}"/></td>
            <td colspan="2"><s:textfield name="north"/></td>
        </tr>
        <tr>
            <td rowspan="3"></td>
            <td><s:label value="%{getText('east.label')}"/></td>
            <td colspan="2"><s:textfield name="east"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('south.label')}"/></td>
            <td colspan="2"><s:textfield name="south"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('west.label')}"/></td>
            <td colspan="2"><s:textfield name="west"/></td>
        </tr>
        <tr>
            <td colspan="2"><s:label value="%{getText('access_for_land.label')}"/></td>
            <td><s:label value="%{getText('yes.label')}"/><input type="radio" name="access_for_land" value="yes"/></td>
            <td><s:label value="%{getText('no.label')}"/><input type="radio" name="access_for_land" value="no"/></td>
        </tr>
        <tr>
            <td colspan="3"></td>
            <td class="right-align"><s:submit name="next" value="%{getText('next.label')}"/></td>
        </tr>
    </table>
</div>
<div id="land-ownership-info">
    <table class="width-100">
        <tr>
            <td colspan="4" align="center"><s:label value="%{getText('ownership_info.label')}"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('name_of_land_owner.label')}"/></td>
            <td colspan="3"><s:textarea name="name_of_land_owner"/></td>
        </tr>
        <tr>
            <td></td>
            <td><s:label value="%{getText('personal_name.label')}"/><input type="radio" name="owner_type" value="1"/>
            </td>
            <td><s:label value="%{getText('company.label')}"/><input type="radio" name="owner_type" value="2"/></td>
            <td><s:label value="%{getText('organization.label')}"/><input type="radio" name="owner_type" value="3"/>
            </td>
        </tr>
        <tr>
            <td><s:label value="%{getText('address.label')}"/></td>
            <td colspan="3"><s:textarea name="address"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('id_number.label')}"/></td>
            <td><s:textfield name="id_number"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('date_of_birth.label')}"/></td>
            <td><s:textfield name="date_of_birth"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('nominated_successor.label')}"/></td>
            <td><s:textfield name="nominated_successor"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('occupation.label')}"/></td>
            <td colspan="3"><s:textarea name="occupation"/></td>
        </tr>
        <tr>
            <td>Annual Income</td>
            <td colspan="3"><s:textarea name="anual_income"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('name_of_spouse.label')}"/>/<s:label
                    value="%{getText('life_holder.label')}"/></td>
            <td colspan="3"><s:textarea name="name_of_spouse"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('occupation_of_spouse.label')}"/>/<s:label
                    value="%{getText('life_holder.label')}"/></td>
            <td colspan="3"><s:textarea name="occupation_of_spouse"/></td>
        </tr>
        <tr>
            <td>Annual income of the life holder</td>
            <td><s:textfield name="anual_income_of_life_holder"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('no_of_dependants.label')}"/></td>
            <td colspan="3"><s:textarea name="name_of_dependants"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('reg_no_of_organization.label')}"/></td>
            <td colspan="3"><s:textarea name="reg_no_of_organization"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('name_list_of_director_board.label')}"/></td>
            <td colspan="3"><s:textarea name="name_list_of_director_board"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('name_of_auth_document.label')}"/></td>
            <td colspan="3"><select>
                <option>Yield permit</option>
                <option>Anual permit</option>
                <option>Long term lease</option>
                <option>LDO permit</option>
                <option>Grant under LDO</option>
                <option>Grant under S.L.O</option>
                <option>Grant under LGSPO</option>
                <option>Vesting order</option>
                <option>Land releasement</option>
                <option>other</option>
            </select></td>
        </tr>
        <tr>
            <td colspan="3"></td>
            <td class="right-align"><s:submit name="next" value="%{getText('previous.label')}"/></td>
            <td><s:submit name="next" value="%{getText('next.label')}"/></td>
        </tr>
    </table>
</div>
<div id="nature-of-land">
    <table class="width-100">
        <tr>
            <td colspan="4" align="center"><s:label value="%{getText('nature_of_land.label')}"/></td>
        </tr>
        <tr>
            <td colspan="4"><s:label value="%{getText('geographical_characteristics.label')}"/></td>
        </tr>
        <tr>
            <td width="50px"></td>
            <td><s:label value="%{getText('low_up_land.label')}"/></td>
            <td><s:checkbox name="low_up_land"/></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td><s:label value="%{getText('sloppy_land.label')}"/></td>
            <td><s:checkbox name="sloppy_land"/></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td><s:label value="%{getText('stone_rocky.label')}"/></td>
            <td><s:checkbox name="stone_rocky"/></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td><s:label value="%{getText('muddy.label')}"/></td>
            <td><s:checkbox name="muddy"/></td>
            <td></td>
        </tr>
        <tr>
            <td colspan="4"><s:label value="%{getText('name_of_cultivation_or_crops.label')}"/></td>
        </tr>
        <tr>
            <td></td>
            <td><s:label value="%{getText('plantation.label')}"/></td>
            <td><s:textfield name="plantation"/></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td><s:label value="%{getText('minor_crops.label')}"/></td>
            <td><s:textfield name="minor_crops"/></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td><s:label value="%{getText('field_crops.label')}"/></td>
            <td><s:textfield name="field_crops"/></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td><s:label value="%{getText('horticulture.label')}"/></td>
            <td><s:textfield name="horticulture"/></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td><s:label value="%{getText('paddy.label')}"/></td>
            <td><s:textfield name="paddy"/></td>
            <td></td>
        </tr>
        <tr>
            <td colspan="4"><s:label value="%{getText('development_condition.label')}"/> (<s:label
                    value="%{getText('description.label')}"/>)
            </td>
        </tr>
        <tr>
            <td></td>
            <td><s:label value="%{getText('permanent_buildings.label')}"/> (<s:label
                    value="%{getText('sq_feet.label')}"/>)
            </td>
            <td colspan="2"><s:textfield name="permanent_buildings"/></td>
        </tr>
        <tr>
            <td></td>
            <td><s:label value="%{getText('temporary_buildings.label')}"/></td>
            <td colspan="2"><s:textfield name="temporary_buildings"/></td>
        </tr>
        <tr>
            <td></td>
            <td colspan="2"><s:label value="%{getText('whether_it_has_fence_or_wall.label')}"/></td>
            <td><s:textfield name="whether_it_has_fence_or_wall"/></td>
        </tr>
        <tr>
            <td></td>
            <td colspan="2"><s:label value="%{getText('sources_of_water_supply_or_water_boddies.label')}"/></td>
            <td><select multiple="multiple">
                <option>well</option>
                <option>tube well</option>
                <option>pipe born water</option>
                <option>other</option>
            </select></td>
        </tr>
        <tr>
            <td colspan="2"><s:label value="%{getText('are_there_mineral_resources.label')}"/></td>
            <td colspan="2"><s:textarea name="are_there_mineral_resources"/></td>
        </tr>
        <tr>
            <td colspan="2"><s:label value="%{getText('has_archeological_value.label')}"/></td>
            <td colspan="2"><s:textarea name="has_archeological_value"/></td>
        </tr>
        <tr>
            <td rowspan="3" colspan="2"><s:label value="%{getText('value_of_land.label')}"/> (<s:label
                    value="%{getText('rs.label')}"/>)
            </td>
            <td><s:label value="%{getText('developed_value.label')}"/></td>
            <td><s:textfield name="developed_value"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('undeveloped_value.label')}"/></td>
            <td><s:textfield name="undeveloped_value"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('present_market_value.label')}"/></td>
            <td><s:textfield name="present_market_value"/></td>
        </tr>
        <tr>
            <td colspan="3"></td>
            <td class="right-align"><s:submit name="next" value="%{getText('previous.label')}"/><s:submit name="next"
                                                                                                          value="%{getText('next.label')}"/></td>
        </tr>
    </table>
</div>
<div id="section-4">
    <table class="width-100">
        <tr>
            <td colspan="4">Allianation</td>
        </tr>
        <tr>
            <td colspan="2"><s:label value="%{getText('whether_land_acquired_or_not.label')}"/></td>
            <td colspan="2"><s:textfield name="whether_land_acquired_or_not"/></td>
        </tr>
        <tr>
            <td colspan="2"><s:label value="%{getText('if_acquired_purpose.label')}"/></td>
            <td colspan="2"><s:textfield name="if_acquired_purpose"/></td>
        </tr>
        <tr>
            <td colspan="2"><s:label value="%{getText('is_there_plan_for_specified_purpose.label')}"/></td>
            <td colspan="2"><s:textfield name="is_there_plan_for_specified_purpose"/></td>
        </tr>
        <tr>
            <td colspan="2"><s:label value="%{getText('are_there_any_encroachment_in_land.label')}"/></td>
            <td colspan="2"><s:textfield name="are_there_any_encroachment_in_land"/></td>
        </tr>
        <tr>
            <td colspan="2"><s:label value="%{getText('name_of_encroachment.label')}"/></td>
            <td colspan="2"><s:textfield name="name_of_encroachment"/></td>
        </tr>
        <tr>
            <td colspan="2"><s:label value="%{getText('nature_of_encroachment.label')}"/></td>
            <td colspan="2"><s:textfield name="nature_of_encroachment"/></td>
        </tr>
        <tr>
            <td rowspan="4" width="50px"></td>
            <td><s:label value="%{getText('permanent_building.label')}"/></td>
            <td colspan="2"><s:textfield name="permanent_building"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('temporary_building.label')}"/></td>
            <td colspan="2"><s:textfield name="temporary_building"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('cultivation.label')}"/></td>
            <td colspan="2"><s:textfield name="cultivation"/></td>
        </tr>
        <tr>
            <td><s:label value="%{getText('other.label')}"/></td>
            <td colspan="2"><s:textfield name="other"/></td>
        </tr>
        <tr>
            <td colspan="4"><s:label
                    value="%{getText('if_there_is_an_encroachment_what_are_the_reaction_against_encroachment.label')}"/></td>
        </tr>
        <tr>
            <td colspan="4"><s:textarea
                    name="if_there_is_an_encroachment_what_are_the_reaction_against_encroachment"/></td>
        </tr>
        <tr>
            <td colspan="3"></td>
            <td class="right-align"><s:submit name="next" value="%{getText('previous.label')}"/></td>
        </tr>
    </table>
</div>
</div>
<div id="file-browse">
    <table class="width-100 margin-10-auto">
        <tr>
            <td>Upload file</td>
            <td><input type="file" value="Browse"/></td>
        </tr>
        <tr>
            <td colspan="2" class="right-align"><s:submit value="%{getText('submit.label')}"/></td>
        </tr>
    </table>
</div>
</s:form>


